<!doctype html>
<html lang="en" xmlns:v-on="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
</head>
<body>

<div id="app">
    输入的文本: <input type="text" v-model="message" v-model="alen"> {{ message }}
    <div>
        <span>
        性别:
        <input type="radio" name="sex" value="男" v-model="alen"> 男
        <input type="radio" name="sex" value="女" v-model="alen"> 女

        <p>
            选中: {{alen}}
        </p>
    </span>
    </div>
    下拉框:
    <select v-model="opt">
        <option value="" disabled >-- 请选择 --</option>
        <option >A</option>
        <option >B</option>
        <option >C</option>
    </select>
    <span>value: {{opt}}</span>
</div>


<script src="https://cdn.jsdelivr.net/npm/vue@2/dist/vue.js"></script>
<script>
    var vm = new Vue({
        el: "#app",
        data: {
            message: "",
            alen: "",
            opt: ""
        },
    })
</script>

</body>
</html>